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

Commit fcefabf9 authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka
Browse files

Groundwork to implement landscape and welcome screen

Bug: 8159728
Change-Id: I05ff6578980ec2e210ebb482ea51b1600e74a4f4
parent 16ec2e11
Loading
Loading
Loading
Loading
+30 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
**
** Copyright 2013, 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.
*/
-->

<selector xmlns:android="http://schemas.android.com/apk/res/android">
    <item
        android:state_focused="true"
        android:color="@color/setup_text_action" />
    <item
        android:state_pressed="true"
        android:color="@color/setup_text_action" />
    <item
        android:color="@color/setup_step_background" />
</selector>
+32 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
**
** Copyright 2013, 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.
*/
-->

<merge xmlns:android="http://schemas.android.com/apk/res/android">
    <view class="com.android.inputmethod.latin.setup.SetupStartIndicatorView$LabelView"
        android:id="@+id/setup_start_label"
        android:text="@string/setup_start_action"
        android:gravity="end|center_vertical"
        android:layout_width="0dp"
        android:layout_weight="1.0"
        style="@style/setupStepActionLabelStyleCommon" />
    <view class="com.android.inputmethod.latin.setup.SetupStartIndicatorView$IndicatorView"
        android:id="@+id/setup_start_indicator"
        style="@style/setupStepStartIndicatorStyle" />
</merge>
+64 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
**
** Copyright 2013, 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.
*/
-->

<merge xmlns:android="http://schemas.android.com/apk/res/android">
    <LinearLayout
        android:id="@+id/setup_step_bullets"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginTop="16dp"
        android:orientation="horizontal">
        <TextView
            android:id="@+id/setup_step1_bullet"
            style="@style/setupStepBulletStyle"
            android:text="@string/setup_step1_bullet" />
        <TextView
            android:id="@+id/setup_step2_bullet"
            style="@style/setupStepBulletStyle"
            android:text="@string/setup_step2_bullet" />
        <TextView
            android:id="@+id/setup_step3_bullet"
            style="@style/setupStepBulletStyle"
            android:text="@string/setup_step3_bullet" />
    </LinearLayout>
    <com.android.inputmethod.latin.setup.SetupStepIndicatorView
        android:id="@+id/setup_step_indicator"
        android:layout_width="match_parent"
        android:layout_height="24dp" />
    <FrameLayout
        android:id="@+id/setup_steps_pane"
        android:layout_width="match_parent"
        android:layout_height="wrap_content">
        <include
            android:id="@+id/setup_step1"
            layout="@layout/setup_step" />
        <include
            android:id="@+id/setup_step2"
            layout="@layout/setup_step" />
        <include
            android:id="@+id/setup_step3"
            layout="@layout/setup_step" />
    </FrameLayout>
    <TextView
        android:id="@+id/setup_finish"
        android:text="@string/setup_finish_action"
        style="@style/setupStepActionLabelStyle"
        android:layout_marginTop="2dp" />
</merge>
+27 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
**
** Copyright 2013, 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.
*/
-->

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical">
    <include layout="@layout/setup_steps_title" />
    <include layout="@layout/setup_steps_cards" />
</LinearLayout>
+27 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
**
** Copyright 2013, 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.
*/
-->

<merge xmlns:android="http://schemas.android.com/apk/res/android">
    <TextView
        android:id="@+id/setup_title"
        style="@style/setupTitleStyle"
        android:layout_alignParentLeft="true"
        android:layout_alignParentTop="true" />
</merge>
Loading