-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
controls' list made dynamic so that control will not appear if not re…
…levant to device
- Loading branch information
remibettan
committed
Jul 15, 2020
1 parent
06ed7fc
commit 602956a
Showing
3 changed files
with
147 additions
and
68 deletions.
There are no files selected for viewing
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
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
29 changes: 29 additions & 0 deletions
29
wrappers/android/tools/camera/src/main/res/layout/controls_dialog_row.xml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:tools="http://schemas.android.com/tools" | ||
android:orientation="vertical" | ||
android:padding="20dp" | ||
android:background="@drawable/fragment_template" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content"> | ||
|
||
<TextView | ||
android:id="@+id/control_name" | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" | ||
android:textColor="#ffffff" | ||
android:textSize="20sp" | ||
android:textStyle="bold" | ||
android:layout_marginBottom="5dp"/> | ||
|
||
<RadioGroup | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_below="@id/control_name" | ||
android:id="@+id/control_options_list" | ||
android:layout_marginBottom="20dp" | ||
tools:layout_height="150dip"> | ||
<!-- items added within code --> | ||
</RadioGroup> | ||
|
||
</RelativeLayout> |