diff options
Diffstat (limited to 'res/layout/item_hidden_app.xml')
-rw-r--r-- | res/layout/item_hidden_app.xml | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/res/layout/item_hidden_app.xml b/res/layout/item_hidden_app.xml new file mode 100644 index 000000000..34fad9831 --- /dev/null +++ b/res/layout/item_hidden_app.xml @@ -0,0 +1,55 @@ +<!-- + Copyright (C) 2019 The LineageOS Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="64dp"> + + <ImageView + android:id="@+id/item_hidden_app_icon" + android:layout_width="48dp" + android:layout_height="48dp" + android:layout_centerVertical="true" + android:layout_marginStart="16dp" /> + + <ImageView + android:id="@+id/item_protected_app_switch" + android:layout_width="24dp" + android:layout_height="24dp" + android:layout_alignParentEnd="true" + android:layout_centerVertical="true" + android:layout_marginEnd="56dp" + android:clickable="true" + android:focusable="true" /> + + <ImageView + android:id="@+id/item_hidden_app_switch" + android:layout_width="24dp" + android:layout_height="24dp" + android:layout_alignParentEnd="true" + android:layout_centerVertical="true" + android:layout_marginEnd="16dp" + android:clickable="true" + android:focusable="true" /> + + <TextView + android:id="@+id/item_hidden_app_title" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_alignEnd="@id/item_hidden_app_switch" + android:layout_centerVertical="true" + android:layout_marginStart="88dp" + android:layout_marginEnd="88dp" /> +</RelativeLayout> |