Created
August 14, 2016 09:56
-
-
Save ChanSek/f103fc13423119479b6ff8d7f64f0a78 to your computer and use it in GitHub Desktop.
<id> can overlap <id> if <string>, <string> grow due to localized text expansion
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content"> | |
<TextView | |
android:id="@+id/txt_left" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_alignParentLeft="true" | |
android:layout_alignParentStart="true" | |
android:layout_marginLeft="16dp" | |
android:layout_marginStart="16dp" | |
android:text="@string/left" | |
android:textAppearance="@style/TextAppearance.AppCompat.Widget.ActionBar.Title" | |
android:textColor="@color/colorIconsOrText" /> | |
<TextView | |
android:id="@+id/txt_right" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_alignParentRight="true" | |
android:layout_alignParentEnd="true" | |
android:layout_marginRight="16dp" | |
android:layout_marginEnd="16dp" | |
android:text="@string/right" | |
android:textAppearance="@style/TextAppearance.AppCompat.Widget.ActionBar.Title" | |
android:textColor="@color/colorIconsOrText" /> | |
</RelativeLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment