forked from project-chip/connectedhomeip
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Android] virtual-device-app: Remove collapsing layout (project-chip#…
…30948) * virtual-device-app: Remove collapsing layout Signed-off-by: Jaehoon You <[email protected]> Signed-off-by: Charles Kim <[email protected]> * virtual-device-app: Cleanup resources Signed-off-by: Jaehoon You <[email protected]> Signed-off-by: Charles Kim <[email protected]> --------- Signed-off-by: Jaehoon You <[email protected]> Signed-off-by: Charles Kim <[email protected]>
- Loading branch information
1 parent
75113fc
commit 9ba4242
Showing
19 changed files
with
394 additions
and
745 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
5 changes: 0 additions & 5 deletions
5
examples/virtual-device-app/android/App/core/ui/src/main/res/drawable/round_toggle_on_24.xml
This file was deleted.
Oops, something went wrong.
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
File renamed without changes.
4 changes: 0 additions & 4 deletions
4
examples/virtual-device-app/android/App/core/ui/src/main/res/layout/layout_space_top.xml
This file was deleted.
Oops, something went wrong.
39 changes: 0 additions & 39 deletions
39
examples/virtual-device-app/android/App/core/ui/src/main/res/layout/layout_title.xml
This file was deleted.
Oops, something went wrong.
9 changes: 0 additions & 9 deletions
9
examples/virtual-device-app/android/App/core/ui/src/main/res/values/dimens.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
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
59 changes: 19 additions & 40 deletions
59
...ual-device-app/android/App/feature/control/src/main/res/layout/fragment_on_off_switch.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 |
---|---|---|
@@ -1,55 +1,34 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<layout xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:app="http://schemas.android.com/apk/res-auto"> | ||
<layout xmlns:android="http://schemas.android.com/apk/res/android"> | ||
|
||
<androidx.coordinatorlayout.widget.CoordinatorLayout | ||
<androidx.constraintlayout.widget.ConstraintLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:fitsSystemWindows="true"> | ||
android:layout_height="match_parent"> | ||
|
||
<!-- appbar --> | ||
<include | ||
android:id="@+id/appbar" | ||
layout="@layout/layout_appbar" /> | ||
<!-- appbar --> | ||
|
||
<androidx.core.widget.NestedScrollView | ||
android:id="@+id/nested_scroll_view" | ||
<ScrollView | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:fillViewport="true" | ||
app:layout_behavior="@string/appbar_scrolling_view_behavior"> | ||
android:layout_marginTop="?attr/actionBarSize"> | ||
|
||
<ScrollView | ||
<LinearLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent"> | ||
|
||
<LinearLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:orientation="vertical"> | ||
|
||
<!-- title --> | ||
<include | ||
android:id="@+id/on_off_switch_title_layout" | ||
layout="@layout/layout_title" /> | ||
<!-- title --> | ||
|
||
<!-- Top Space --> | ||
<include layout="@layout/layout_space_top" /> | ||
<!-- Top Space --> | ||
|
||
<!-- On Off Button --> | ||
<include | ||
android:id="@+id/on_off_switch_on_off_layout" | ||
layout="@layout/layout_item_value_on_off_button" /> | ||
<!-- On Off Button --> | ||
|
||
<!-- Bottom Space --> | ||
<include layout="@layout/layout_space_bottom" /> | ||
<!-- Bottom Space --> | ||
</LinearLayout> | ||
</ScrollView> | ||
</androidx.core.widget.NestedScrollView> | ||
</androidx.coordinatorlayout.widget.CoordinatorLayout> | ||
android:layout_height="wrap_content" | ||
android:orientation="vertical"> | ||
|
||
<include | ||
android:id="@+id/on_off_switch_on_off_layout" | ||
layout="@layout/layout_item_value_on_off_button" /> | ||
|
||
<!-- Bottom Space --> | ||
<include layout="@layout/layout_bottom_space" /> | ||
<!-- Bottom Space --> | ||
</LinearLayout> | ||
</ScrollView> | ||
</androidx.constraintlayout.widget.ConstraintLayout> | ||
</layout> |
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
Oops, something went wrong.