2016-07-28 12:02:08 +00:00
|
|
|
<?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.
|
|
|
|
-->
|
|
|
|
<LinearLayout
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="@color/dexopt_bottom"
|
|
|
|
android:gravity="bottom">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="@color/dexopt_background"
|
|
|
|
android:elevation="8dp">
|
|
|
|
|
|
|
|
<ImageView
|
2016-08-18 17:55:10 +00:00
|
|
|
android:id="@+id/dexopt_logo_view"
|
2016-07-28 12:02:08 +00:00
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingTop="@dimen/dexopt_bottom_height"
|
|
|
|
android:scaleType="centerInside"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:src="@drawable/dexopt_brand_logo"
|
|
|
|
android:layout_weight="1" />
|
|
|
|
</LinearLayout>
|
|
|
|
<ProgressBar
|
|
|
|
android:id="@+id/dexopt_progress"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="8dp"
|
|
|
|
android:indeterminate="false"
|
|
|
|
android:progress="10"
|
|
|
|
style="@android:style/Widget.Material.ProgressBar.Horizontal" />
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="@dimen/dexopt_bottom_height"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:padding="@dimen/dexopt_padding_generic">
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/dexopt_message"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textColor="@color/dexopt_text_primary"
|
|
|
|
android:ellipsize="marquee"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:scrollHorizontally="true"
|
|
|
|
android:marqueeRepeatLimit="marquee_forever"
|
|
|
|
android:textSize="14sp" />
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/dexopt_message_detail"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textColor="@color/dexopt_text_secondary"
|
|
|
|
android:ellipsize="marquee"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:scrollHorizontally="true"
|
|
|
|
android:marqueeRepeatLimit="marquee_forever"
|
|
|
|
android:textSize="14sp" />
|
|
|
|
</LinearLayout>
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/dexopt_icon"
|
|
|
|
android:layout_height="@dimen/dexopt_icon_size"
|
|
|
|
android:layout_width="@dimen/dexopt_icon_size"
|
|
|
|
android:layout_gravity="center_vertical" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|