XML : xml drawable and android layout

I have a big problem. How could i code this design

this is code of that border

  <rotate xmlns:android="http://schemas.android.com/apk/res/android"  android:fromDegrees="90"  android:toDegrees="90"  android:drawable="@drawable/start_borderbottom"/>    

and start_borderbottom.xml

  <?xml version="1.0" encoding="utf-8"?>  <shape xmlns:android="http://schemas.android.com/apk/res/android"      android:shape="line">      <solid android:color="@color/colorStartDivider" />      <stroke          android:width="2dp"          android:color="@color/colorStartDivider" />    </shape>    

I tryed different variations of linearlayout, relativelayout,and cannot find exact solution, always something overlaps. When i add DrawableBottom to my loginTextView the border doesnt render. How to add this border and is better to use relativelayout or linear?

No comments:

Post a Comment