Repo created
This commit is contained in:
parent
c49f951a12
commit
9d6cbf6fba
323 changed files with 41128 additions and 0 deletions
64
res/layout/list_item_normal.xml
Normal file
64
res/layout/list_item_normal.xml
Normal file
|
|
@ -0,0 +1,64 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2012 Andrew Neal
|
||||
|
||||
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"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
xmlns:app="http://schemas.android.com/apk/res/com.andrew.apollo"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center_vertical"
|
||||
tools:ignore="ContentDescription" >
|
||||
|
||||
<com.andrew.apollo.widgets.SquareImageView
|
||||
android:id="@+id/image"
|
||||
android:layout_width="@dimen/item_normal_height"
|
||||
android:layout_height="@dimen/item_normal_height"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentTop="true"
|
||||
android:scaleType="fitXY" />
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/item_normal_height"
|
||||
android:layout_toRightOf="@+id/image"
|
||||
android:gravity="center_vertical"
|
||||
android:minHeight="@dimen/item_normal_height"
|
||||
android:paddingLeft="@dimen/list_preferred_item_padding"
|
||||
android:paddingRight="@dimen/list_preferred_item_padding" >
|
||||
|
||||
<com.andrew.apollo.widgets.theme.ThemeableTextView
|
||||
android:id="@+id/line_one"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentTop="true"
|
||||
android:singleLine="true"
|
||||
android:textSize="@dimen/text_size_medium"
|
||||
android:textStyle="bold"
|
||||
app:themeResource="line_one" />
|
||||
|
||||
<com.andrew.apollo.widgets.theme.ThemeableTextView
|
||||
android:id="@+id/line_two"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/line_one"
|
||||
android:layout_marginTop="@dimen/list_item_line_two_margin_top"
|
||||
android:singleLine="true"
|
||||
android:textSize="@dimen/text_size_small"
|
||||
app:themeResource="line_two" />
|
||||
</RelativeLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
Loading…
Add table
Add a link
Reference in a new issue