Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
...@@ -36,6 +36,17 @@ ...@@ -36,6 +36,17 @@
</LinearLayout> </LinearLayout>
<LinearLayout
android:id="@+id/pattern_sizes"
android:layout_width="@dimen/crypt_keeper_pattern_size"
android:layout_height="@dimen/crypt_keeper_pattern_size"
android:orientation="horizontal"
android:layout_gravity="center_horizontal">
<include layout="@layout/crypt_keeper_pattern_sizes" />
</LinearLayout>
<include layout="@layout/crypt_keeper_emergency_button" /> <include layout="@layout/crypt_keeper_emergency_button" />
</LinearLayout> </LinearLayout>
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
** Copyright 2008, The Android Open Source 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.
*/
-->
<GridLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minHeight="?android:attr/listPreferredItemHeight"
android:paddingStart="?android:attr/listPreferredItemPaddingStart"
android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"
android:paddingTop="8dip"
android:paddingBottom="8dip"
android:columnCount="3">
<ImageView
android:id="@+id/op_icon"
android:layout_width="@android:dimen/app_icon_size"
android:layout_height="@android:dimen/app_icon_size"
android:layout_column="0"
android:layout_row="0"
android:layout_rowSpan="2"
android:layout_marginEnd="8dip"
android:scaleType="centerInside"
android:contentDescription="@null" />
<TextView
android:id="@+id/op_name"
android:layout_column="1"
android:layout_row="0"
android:layout_gravity="fill_horizontal"
android:layout_marginTop="2dip"
android:singleLine="true"
android:ellipsize="marquee"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textAlignment="viewStart" />
<TextView
android:id="@+id/op_time"
android:layout_column="1"
android:layout_row="1"
android:layout_gravity="fill_horizontal|top"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textAlignment="viewStart" />
<Switch android:id="@+id/switchWidget"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginStart="8dip"
android:layout_column="2"
android:layout_row="0"
android:layout_rowSpan="2"
android:padding="8dip"
android:focusable="false"
android:clickable="true" />
</GridLayout>
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!-- <!-- Copyright (C) 2015 The Android Open Source Project
Copyright (C) 2014 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. you may not use this file except in compliance with the License.
...@@ -16,32 +15,26 @@ ...@@ -16,32 +15,26 @@
--> -->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/other_network"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="@dimen/setup_add_network_item_height" android:layout_height="wrap_content"
android:background="?android:attr/selectableItemBackground" android:orientation="vertical">
android:gravity="center_vertical"
android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"
android:paddingStart="?android:attr/listPreferredItemPaddingStart">
<LinearLayout <TextView
android:layout_width="@dimen/setup_preference_icon_frame_width" android:id="@+id/widget_text1"
android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="@dimen/setup_preference_icon_frame_margin_start" android:textAppearance="@android:style/TextAppearance.Material.Body1"
android:gravity="start|center_vertical" android:textColor="?android:attr/textColorSecondary"
android:paddingEnd="@dimen/setup_preference_icon_frame_padding_end"> android:singleLine="true"
android:ellipsize="end" />
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/setup_ic_add_another_network" />
</LinearLayout>
<TextView <TextView
android:id="@+id/widget_text2"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/wifi_other_network" android:textAppearance="@android:style/TextAppearance.Material.Body1"
android:textAppearance="@style/TextAppearance.SetupWizardDescription" /> android:textColor="?android:attr/textColorSecondary"
android:singleLine="true"
android:ellipsize="end" />
</LinearLayout> </LinearLayout>
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2016 The CyanogenMod 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.
-->
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:minHeight="56dp"
android:paddingStart="?android:attr/listPreferredItemPaddingStart"
android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"
android:text="@string/lock_settings_picker_pattern_size_message"
android:textAppearance="@android:style/TextAppearance.Material.Subhead" />
...@@ -36,6 +36,18 @@ ...@@ -36,6 +36,18 @@
</LinearLayout> </LinearLayout>
<LinearLayout
android:id="@+id/pattern_sizes"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/crypt_keeper_pattern_margin"
android:layout_marginEnd="@dimen/crypt_keeper_pattern_margin"
android:orientation="horizontal">
<include layout="@layout/crypt_keeper_pattern_sizes" />
</LinearLayout>
<include layout="@layout/crypt_keeper_emergency_button" /> <include layout="@layout/crypt_keeper_emergency_button" />
</LinearLayout> </LinearLayout>
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2015 The CyanogenMod 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.
-->
<merge xmlns:android="http://schemas.android.com/apk/res/android">
<Button
android:id="@+id/lock_pattern_size_3"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:textSize="14sp"
android:fontFamily="sans-serif"
android:text="@string/lock_pattern_size_3"
android:textColor="@color/text_color_white"
android:layout_weight="1"
style="?android:attr/borderlessButtonStyle"/>
<Button
android:id="@+id/lock_pattern_size_4"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:textSize="14sp"
android:fontFamily="sans-serif"
android:text="@string/lock_pattern_size_4"
android:textColor="@color/text_color_white"
android:layout_weight="1"
style="?android:attr/borderlessButtonStyle"/>
<Button
android:id="@+id/lock_pattern_size_5"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:textSize="14sp"
android:fontFamily="sans-serif"
android:text="@string/lock_pattern_size_5"
android:textColor="@color/text_color_white"
android:layout_weight="1"
style="?android:attr/borderlessButtonStyle"/>
<Button
android:id="@+id/lock_pattern_size_6"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:textSize="14sp"
android:fontFamily="sans-serif"
android:text="@string/lock_pattern_size_6"
android:textColor="@color/text_color_white"
android:layout_weight="1"
style="?android:attr/borderlessButtonStyle"/>
</merge >
<?xml version="1.0" encoding="utf-8"?>
<!--
/* Copyright (c) 2014, The Linux Foundation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above
* copyright notice, this list of conditions and the following
* disclaimer in the documentation and/or other materials provided
* with the distribution.
* * Neither the name of The Linux Foundation nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
* BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
* OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
* IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
*/
-->
<Switch xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/sub_switch_widget"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:clickable="true"
android:focusable="false"
android:padding="8dip" />
...@@ -14,13 +14,12 @@ ...@@ -14,13 +14,12 @@
limitations under the License. limitations under the License.
--> -->
<LinearLayout <RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/dashboard_tile" android:id="@+id/dashboard_tile"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="@drawable/selectable_card" android:background="@drawable/selectable_card"
android:gravity="center_vertical"
android:minHeight="@dimen/dashboard_tile_minimum_height" android:minHeight="@dimen/dashboard_tile_minimum_height"
android:clickable="true" android:clickable="true"
android:focusable="true"> android:focusable="true">
...@@ -29,6 +28,8 @@ ...@@ -29,6 +28,8 @@
android:id="@android:id/icon" android:id="@android:id/icon"
android:layout_width="@dimen/dashboard_tile_image_size" android:layout_width="@dimen/dashboard_tile_image_size"
android:layout_height="@dimen/dashboard_tile_image_size" android:layout_height="@dimen/dashboard_tile_image_size"
android:layout_centerVertical="true"
android:layout_alignParentStart="true"
android:scaleType="centerInside" android:scaleType="centerInside"
android:layout_marginStart="@dimen/dashboard_tile_image_margin_start" android:layout_marginStart="@dimen/dashboard_tile_image_margin_start"
android:layout_marginEnd="@dimen/dashboard_tile_image_margin_end" /> android:layout_marginEnd="@dimen/dashboard_tile_image_margin_end" />
...@@ -36,7 +37,10 @@ ...@@ -36,7 +37,10 @@
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="vertical"> android:orientation="vertical"
android:layout_centerVertical="true"
android:layout_toRightOf="@android:id/icon"
android:layout_toLeftOf="@+id/chevron_right">
<TextView android:id="@android:id/title" <TextView android:id="@android:id/title"
android:layout_width="wrap_content" android:layout_width="wrap_content"
...@@ -57,4 +61,15 @@ ...@@ -57,4 +61,15 @@
</LinearLayout> </LinearLayout>
</LinearLayout> <ImageView
android:id="@+id/chevron_right"
android:layout_width="@dimen/dashboard_tile_chevron_size"
android:layout_height="@dimen/dashboard_tile_chevron_size"
android:layout_centerVertical="true"
android:layout_alignParentEnd="true"
android:layout_marginStart="@dimen/dashboard_tile_chevron_margin_start"
android:layout_marginEnd="@dimen/dashboard_tile_chevron_margin_end"
android:src="@drawable/ic_chevron_right"
android:scaleType="centerInside"/>
</RelativeLayout>
...@@ -57,6 +57,28 @@ ...@@ -57,6 +57,28 @@
settings:fillColorSecondary="?android:attr/colorAccent" settings:fillColorSecondary="?android:attr/colorAccent"
settings:safeRegion="3dp" /> settings:safeRegion="3dp" />
<com.android.settings.widget.ChartSweepView
android:id="@+id/sweep_left"
android:layout_width="wrap_content"
android:layout_height="match_parent"
settings:sweepDrawable="@drawable/data_sweep_left"
settings:followAxis="horizontal"
settings:neighborMargin="5dip"
settings:strokeColor="#00000000"
settings:fillColor="?android:attr/colorAccent"
settings:fillColorSecondary="?android:attr/colorAccent" />
<com.android.settings.widget.ChartSweepView
android:id="@+id/sweep_right"
android:layout_width="wrap_content"
android:layout_height="match_parent"
settings:sweepDrawable="@drawable/data_sweep_right"
settings:followAxis="horizontal"
settings:neighborMargin="5dip"
settings:strokeColor="#00000000"
settings:fillColor="?android:attr/colorAccent"
settings:fillColorSecondary="?android:attr/colorAccent" />
<com.android.settings.widget.ChartSweepView <com.android.settings.widget.ChartSweepView
android:id="@+id/sweep_warning" android:id="@+id/sweep_warning"
android:layout_width="match_parent" android:layout_width="match_parent"
......
...@@ -55,6 +55,8 @@ ...@@ -55,6 +55,8 @@
android:singleLine="true" android:singleLine="true"
android:textAppearance="?android:attr/textAppearanceMedium" android:textAppearance="?android:attr/textAppearanceMedium"
android:ellipsize="marquee" android:ellipsize="marquee"
android:marqueeRepeatLimit="marquee_forever"
android:scrollHorizontally="true"
android:layout_alignParentTop="true" android:layout_alignParentTop="true"
android:fadingEdge="horizontal" /> android:fadingEdge="horizontal" />
......
...@@ -45,6 +45,7 @@ ...@@ -45,6 +45,7 @@
<TextView <TextView
style="@style/TextAppearance.FingerprintMessage" style="@style/TextAppearance.FingerprintMessage"
android:id="@+id/find_sensor_message"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="@dimen/suw_description_glif_margin_top" android:layout_marginTop="@dimen/suw_description_glif_margin_top"
......
...@@ -28,6 +28,15 @@ ...@@ -28,6 +28,15 @@
android:src="@drawable/fingerprint_sensor_location" android:src="@drawable/fingerprint_sensor_location"
android:scaleType="centerInside"/> android:scaleType="centerInside"/>
<ImageView
android:id="@+id/fingerprint_sensor_location_front_overlay"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:contentDescription="@string/security_settings_fingerprint_enroll_find_sensor_content_description"
android:src="@drawable/fingerprint_sensor_location_front_overlay"
android:scaleType="centerInside"
android:visibility="gone"/>
<com.android.settings.fingerprint.FingerprintLocationAnimationView <com.android.settings.fingerprint.FingerprintLocationAnimationView
android:id="@+id/fingerprint_sensor_location_animation" android:id="@+id/fingerprint_sensor_location_animation"
android:layout_width="match_parent" android:layout_width="match_parent"
......
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2016 The Android Open Source Project <!-- Copyright (C) 2015 The CyanogenMod Project
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. you may not use this file except in compliance with the License.
...@@ -13,8 +13,9 @@ ...@@ -13,8 +13,9 @@
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
--> -->
<com.android.settings.display.AppGridView <ListView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/protected_apps_list"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="wrap_content"
android:importantForAccessibility="noHideDescendants" /> android:layout_marginLeft="5dp"
android:choiceMode="multipleChoice" />
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2015 The CyanogenMod 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.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical" >
<LinearLayout
android:id="@+id/app_item"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingStart="?android:attr/listPreferredItemPaddingStart"
android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"
android:minHeight="48dp"
android:orientation="horizontal"
android:gravity="center_vertical"
android:background="?android:attr/selectableItemBackground"
android:descendantFocusability="blocksDescendants">
<ImageView android:id="@+id/icon"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_gravity="center" />
<TextView android:id="@+id/title"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginLeft="15dip"
android:layout_marginRight="6dip"
android:layout_marginTop="6dip"
android:layout_marginBottom="6dip"
android:layout_weight="1"
android:singleLine="true"
android:textAppearance="?android:attr/textAppearanceMedium"
android:ellipsize="marquee"
android:fadingEdge="horizontal" />
<com.android.settings.widget.InertCheckBox android:id="@+id/checkbox"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<LinearLayout
android:id="@+id/launch_app"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:orientation="horizontal"
android:background="@drawable/launch_app"
android:visibility="gone" >
<View
android:layout_width="1dp"
android:layout_height="match_parent"
android:background="@android:color/darker_gray" />
<ImageView
android:layout_width="30dp"
android:layout_height="30dp"
android:src="@drawable/ic_launch_app"
android:layout_gravity="center"
android:layout_marginRight="?android:attr/scrollbarSize"
android:paddingLeft="5dp" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (c) 2015, The Linux Foundation. All Rights Reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials provided
with the distribution.
* Neither the name of The Linux Foundation nor the names of its
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?android:attr/activatedBackgroundIndicator"
android:gravity="center_vertical"
android:minHeight="48dp"
android:paddingEnd="?android:attr/scrollbarSize" >
<RelativeLayout
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_marginStart="15dip"
android:layout_marginEnd="6dip"
android:layout_marginTop="6dip"
android:layout_marginBottom="6dip"
android:layout_weight="1">
<TextView android:id="@+id/subtitle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:singleLine="true"
android:text="@string/wifi_tether_checkbox_text"
android:textAppearance="?android:attr/textAppearanceListItem"
android:ellipsize="marquee"
android:fadingEdge="horizontal" />
<TextView android:id="@+id/subsummary"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/subtitle"
android:layout_alignStart="@+id/subtitle"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="?android:attr/textColorSecondary"
android:maxLines="4" />
</RelativeLayout>
<Switch
android:id="@+id/switchWidget"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:clickable="true"
android:focusable="false"
android:padding="8dip" />
</LinearLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<!--
**
** Copyright 2014, 2014 The CyanogenMod 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.
*/
-->
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:fitsSystemWindows="true" >
<Space
android:layout_width="1dp"
android:layout_height="0dip"
android:layout_weight=".5" />
<TextView
android:id="@+id/pattern_lock_header"
android:layout_width="wrap_content"
android:layout_height="0dip"
android:text="@string/lockpattern_recording_intro_header"
android:layout_weight="1"
android:layout_gravity="center_horizontal"
android:padding="10dp"
android:textSize="18sp" />
<View
android:background="@*android:drawable/code_lock_top"
android:layout_width="match_parent"
android:layout_height="2dip" />
<Space
android:layout_width="1dp"
android:layout_height="0dip"
android:layout_weight=".5" />
<com.android.internal.widget.LockPatternView
android:id="@+id/lock_pattern_view"
android:layout_width="match_parent"
android:layout_height="0dip"
android:layout_gravity="center"
android:layout_weight="4" />
<com.android.settings.cyanogenmod.ProtectedAccountView
android:id="@+id/lock_account_view"
android:layout_width="match_parent"
android:layout_height="0dip"
android:layout_gravity="center"
android:layout_weight="4"
android:visibility="gone" >
<include layout="@layout/protected_account_view" />
</com.android.settings.cyanogenmod.ProtectedAccountView>
<Space
android:layout_width="1dp"
android:layout_height="0dip"
android:layout_weight="1" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_alignParentBottom="true">
<Button
android:id="@+id/pattern_lock_btn_cancel"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/cancel"/>
<Button
android:id="@+id/pattern_lock_btn_continue"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/lockpattern_continue_button_text"/>
</LinearLayout>
<Space
android:layout_width="1dp"
android:layout_height="0dip"
android:layout_weight=".5" />
<ImageView
android:id="@+id/protected_apps_fingerprint_icon"
android:src="@drawable/ic_fingerprint_dark"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:padding="10dp"
android:visibility="gone" />
</LinearLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2015 The Android Open Source Project
Copyright (C) 2017 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.
-->
<!-- Based off packages/apps/Settings/res/layout/preference_material_settings.xml
but with different paddings -->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minHeight="?android:attr/listPreferredItemHeightSmall"
android:gravity="center_vertical"
android:paddingStart="16dp"
android:paddingEnd="16dp"
android:background="?android:attr/activatedBackgroundIndicator"
android:clipToPadding="false">
<LinearLayout
android:id="@id/icon_frame"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:minWidth="56dp"
android:gravity="start|center_vertical"
android:orientation="horizontal"
android:paddingTop="4dp"
android:paddingBottom="4dp">
<com.android.internal.widget.PreferenceImageView
android:id="@android:id/icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:maxWidth="48dp"
android:maxHeight="48dp" />
</LinearLayout>
<RelativeLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:paddingTop="16dp"
android:paddingBottom="16dp">
<TextView android:id="@android:id/title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:singleLine="true"
android:textAppearance="?android:attr/textAppearanceListItem"
android:ellipsize="marquee" />
<TextView android:id="@android:id/summary"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@android:id/title"
android:layout_alignStart="@android:id/title"
android:textAppearance="?android:attr/textAppearanceListItemSecondary"
android:textColor="?android:attr/textColorSecondary"
android:maxLines="10" />
</RelativeLayout>
<!-- Preference should place its actual preference widget here. -->
<LinearLayout android:id="@android:id/widget_frame"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:gravity="end|center_vertical"
android:paddingStart="16dp"
android:orientation="vertical" />
</LinearLayout>
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2014 The CyanogenMod 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.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minHeight="?android:attr/listPreferredItemHeight"
android:gravity="center_vertical"
android:paddingEnd="?android:attr/scrollbarSize">
<ImageView
android:id="@+android:id/icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:src="@drawable/ring_notif_increasing"
android:minWidth="48dp" />
<RelativeLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="16dip"
android:layout_marginEnd="8dip"
android:layout_marginTop="6dip"
android:layout_marginBottom="6dip"
android:layout_weight="1">
<TextView android:id="@android:id/title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:singleLine="true"
android:textAppearance="?android:attr/textAppearanceMedium"
android:ellipsize="marquee"
android:fadingEdge="horizontal" />
<TextView android:id="@+id/start_volume_label"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@android:id/title"
android:layout_alignStart="@android:id/title"
android:text="@string/increasing_ring_min_volume_title"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="?android:attr/textColorSecondary"
android:singleLine="true" />
<SeekBar android:id="@+id/start_volume"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/start_volume_label"
android:layout_alignParentEnd="true"
android:max="1000" />
<TextView android:id="@+id/ramp_up_time_label"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/start_volume"
android:layout_alignStart="@android:id/title"
android:text="@string/increasing_ring_ramp_up_time_title"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="?android:attr/textColorSecondary"
android:singleLine="true" />
<TextView android:id="@+id/ramp_up_time_value"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/start_volume"
android:layout_toEndOf="@id/ramp_up_time_label"
android:layout_alignBaseline="@id/ramp_up_time_label"
android:layout_alignParentEnd="true"
android:gravity="end"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="?android:attr/textColorSecondary"
android:singleLine="true" />
<SeekBar android:id="@+id/ramp_up_time"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/ramp_up_time_label"
android:layout_alignParentEnd="true"
android:max="11" />
<TextView android:id="@android:id/summary"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/ramp_up_time"
android:layout_alignStart="@android:id/title"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="?android:attr/textColorSecondary"
android:maxLines="4" />
</RelativeLayout>
</LinearLayout>
...@@ -71,8 +71,9 @@ ...@@ -71,8 +71,9 @@
android:layout_height="match_parent" android:layout_height="match_parent"
android:padding="@*android:dimen/preference_fragment_padding_side" android:padding="@*android:dimen/preference_fragment_padding_side"
android:layout_gravity="center" android:layout_gravity="center"
android:gravity="center_vertical" android:gravity="center"
android:visibility="gone" /> android:visibility="gone"
android:textAppearance="?android:attr/textAppearanceMedium" />
<include layout="@layout/admin_support_details_empty_view" /> <include layout="@layout/admin_support_details_empty_view" />
......
...@@ -24,15 +24,15 @@ ...@@ -24,15 +24,15 @@
<RadioButton <RadioButton
android:id="@+id/tts_engine_radiobutton" android:id="@+id/tts_engine_radiobutton"
android:layout_width="wrap_content" android:layout_width="0dp"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_weight="1"
android:clickable="true" android:clickable="true"
android:textAppearance="?android:attr/textAppearanceMedium" /> android:textAppearance="?android:attr/textAppearanceMedium" />
<View <View
android:layout_width="0dp" android:layout_width="2dip"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_weight="1"
android:background="@android:drawable/divider_horizontal_dark" /> android:background="@android:drawable/divider_horizontal_dark" />
<ImageView <ImageView
......