134 lines
4.8 KiB
XML
134 lines
4.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright (C) 2014 Hippo Seven
|
|
|
|
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="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@android:color/white"
|
|
android:orientation="vertical" >
|
|
|
|
<LinearLayout
|
|
android:id="@+id/title_layout"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="64.0dp"
|
|
android:background="@android:color/holo_blue_dark"
|
|
android:orientation="horizontal" >
|
|
|
|
<TextView
|
|
android:id="@+id/title"
|
|
android:layout_width="0.0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:layout_marginLeft="24.0dp"
|
|
android:layout_marginRight="24.0dp"
|
|
android:layout_weight="1"
|
|
android:ellipsize="start"
|
|
android:singleLine="true"
|
|
android:textAppearance="?android:attr/textAppearanceLarge"
|
|
android:textColor="@color/primary_text_light"
|
|
android:visibility="gone" />
|
|
|
|
<ImageView
|
|
android:id="@+id/action"
|
|
android:layout_width="48.0dp"
|
|
android:layout_height="48.0dp"
|
|
android:layout_gravity="center"
|
|
android:layout_marginRight="8.0dp"
|
|
android:background="@drawable/clickable_bg_blue"
|
|
android:src="@drawable/ic_action_touch"
|
|
android:visibility="gone" />
|
|
</LinearLayout>
|
|
|
|
<ScrollView
|
|
android:id="@+id/scroll_view"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1"
|
|
android:fillViewport="true"
|
|
android:visibility="gone" >
|
|
|
|
<LinearLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical" >
|
|
|
|
<TextView
|
|
android:id="@+id/message"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:layout_marginBottom="36dp"
|
|
android:layout_marginLeft="12dp"
|
|
android:layout_marginRight="12dp"
|
|
android:layout_marginTop="36dp"
|
|
android:textSize="18sp"
|
|
android:visibility="gone" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/custom"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:visibility="gone" />
|
|
</LinearLayout>
|
|
</ScrollView>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/custom_no_scroll"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1"
|
|
android:orientation="vertical"
|
|
android:visibility="gone" />
|
|
|
|
<ListView
|
|
android:id="@+id/list"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1"
|
|
android:visibility="gone" >
|
|
</ListView>
|
|
|
|
<LinearLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content" >
|
|
|
|
<com.hippo.ehviewer.widget.AlertButton
|
|
android:id="@+id/negative_button"
|
|
android:layout_width="0dp"
|
|
android:layout_height="fill_parent"
|
|
android:layout_weight="1"
|
|
android:textColor="@color/primary_text_light"
|
|
android:visibility="gone" />
|
|
|
|
<com.hippo.ehviewer.widget.AlertButton
|
|
android:id="@+id/neutral_button"
|
|
android:layout_width="0dp"
|
|
android:layout_height="fill_parent"
|
|
android:layout_weight="1"
|
|
android:textColor="@color/primary_text_light"
|
|
android:visibility="gone" />
|
|
|
|
<com.hippo.ehviewer.widget.AlertButton
|
|
android:id="@+id/positive_button"
|
|
android:layout_width="0dp"
|
|
android:layout_height="fill_parent"
|
|
android:layout_weight="1"
|
|
android:textColor="@color/primary_text_light"
|
|
android:visibility="gone" />
|
|
</LinearLayout>
|
|
|
|
</LinearLayout> |