Skip to content

Commit

Permalink
some modification
Browse files Browse the repository at this point in the history
  • Loading branch information
hhasina committed May 26, 2017
1 parent 60d7d85 commit 6342894
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 26 deletions.
79 changes: 53 additions & 26 deletions app/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,42 +12,69 @@
<com.hopenlib.cflextools.FlexRadioGroup
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:checkedButton="@+id/bhk_1_5"
app:alignContent="space_around"
app:alignItems="flex_start"
app:checkedButton="@+id/bhk_1_5"
app:flexWrap="wrap">

<RadioButton
android:layout_width="wrap_content"
<com.hopenlib.cflextools.FlexRadioGroup xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="1 BHK" />
app:alignContent="space_around"
app:alignItems="flex_start"
app:checkedButton="@+id/rb_2"
app:flexWrap="wrap">

<RadioButton
android:id="@+id/bhk_1_5"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:checked="true"
android:text="1.5 BHK" />
<RadioButton
android:id="@+id/rb_1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="RB 1" />

<RadioButton
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="2 BHK" />
<RadioButton
android:id="@+id/rb_2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:checked="true"
android:text="RB 2" />

<RadioButton
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="2.5 BHK" />
<RadioButton
android:id="@+id/rb_3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="RB 3" />

<RadioButton
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="2 BHK" />
<RadioButton
android:id="@+id/rb_4"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="RB 4" />

<RadioButton
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="2.5 BHK" />
<RadioButton
android:id="@+id/rb_5"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="RB 5" />

<RadioButton
android:id="@+id/rb_6"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="RB 6" />

<RadioButton
android:id="@+id/rb_7"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="RB 7" />

<RadioButton
android:id="@+id/rb_8"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="RB 8" />

</com.hopenlib.cflextools.FlexRadioGroup>

</com.hopenlib.cflextools.FlexRadioGroup>
</RelativeLayout>
Binary file added assets/screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 6342894

Please sign in to comment.