Created
November 13, 2017 08:54
-
-
Save amyu/ab32a53468737d5d8e077d92cbac011e to your computer and use it in GitHub Desktop.
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
<?xml version="1.0" encoding="utf-8"?> | |
<com.google.android.flexbox.FlexboxLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:orientation="horizontal" | |
app:flexWrap="wrap"> | |
<TextView | |
android:layout_width="wrap_content" | |
android:layout_height="100dp" | |
app:layout_flexGrow="1" /> | |
<TextView | |
android:layout_width="wrap_content" | |
android:layout_height="100dp" | |
app:layout_flexBasisPercent="50%" /> | |
</com.google.android.flexbox.FlexboxLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment