94 lines
3.5 KiB
XML
94 lines
3.5 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.
|
|
-->
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="@dimen/detail_thumb_height" >
|
|
|
|
<com.hippo.ehviewer.widget.LoadImageView
|
|
android:id="@+id/detail_cover"
|
|
android:layout_width="@dimen/detail_thumb_width"
|
|
android:layout_height="@dimen/detail_thumb_height"
|
|
android:scaleType="fitCenter" />
|
|
|
|
<TextView
|
|
android:id="@+id/detail_title"
|
|
style="@style/DetailTitle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentTop="true"
|
|
android:layout_marginLeft="12dp"
|
|
android:layout_marginRight="12dp"
|
|
android:layout_marginTop="2dp"
|
|
android:layout_toRightOf="@id/detail_cover" />
|
|
|
|
<Button
|
|
android:id="@+id/detail_uploader"
|
|
style="@style/DetailSubtitle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@id/detail_title"
|
|
android:layout_marginLeft="12dp"
|
|
android:layout_marginRight="12dp"
|
|
android:layout_marginTop="4dp"
|
|
android:layout_toRightOf="@id/detail_cover"
|
|
android:paddingLeft="4dp"
|
|
android:paddingTop="2dp"
|
|
android:paddingRight="4dp"
|
|
android:paddingBottom="2dp"
|
|
android:background="@drawable/clickable_bg_blue"
|
|
android:textColor="@color/blue_bn_text" />
|
|
|
|
|
|
<TextView
|
|
android:id="@+id/detail_category"
|
|
style="@style/TextTag"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_marginBottom="10.0dp"
|
|
android:layout_marginLeft="12dp"
|
|
android:layout_marginRight="12dp"
|
|
android:layout_toRightOf="@id/detail_cover"
|
|
android:background="@android:color/transparent" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_marginBottom="10.0dp"
|
|
android:layout_marginLeft="12dp"
|
|
android:layout_marginRight="12dp"
|
|
android:orientation="vertical" >
|
|
|
|
<Button
|
|
android:id="@+id/detail_do_rate"
|
|
style="@style/Button.Small.Flat.Blue"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="10.0dp"
|
|
android:text="@string/rate" />
|
|
|
|
<Button
|
|
android:id="@+id/detail_read"
|
|
style="@style/Button.Small.Flat.Blue"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/read" />
|
|
</LinearLayout>
|
|
|
|
</RelativeLayout> |