Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(489)

Side by Side Diff: samples/github/android/GithubSample/app/src/main/res/layout/cards_layout.xml

Issue 2035023003: Remove service-compiler related code. (Closed) Base URL: git@github.com:dartino/sdk.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <?xml version="1.0" encoding="utf-8"?>
2
3 <com.google.dartino.githubsample.CommitCardView
4 xmlns:android="http://schemas.android.com/apk/res/android"
5 xmlns:card_view="http://schemas.android.com/apk/res-auto"
6 android:id="@+id/card_view"
7 android:layout_width="match_parent"
8 android:layout_height="wrap_content"
9 android:layout_marginRight="10dp"
10 android:layout_marginLeft="10dp"
11 android:layout_marginBottom="1dp"
12 android:layout_marginTop="1dp"
13 android:onClick="showDetails"
14 card_view:cardUseCompatPadding="true"
15 card_view:cardCornerRadius="1dp"
16 card_view:cardElevation="3dp"
17 android:transitionName="transition_card"
18 android:foreground="?android:attr/selectableItemBackground"
19 android:clickable="true"
20 >
21
22 <ProgressBar
23 android:id="@+id/card_loading"
24 android:layout_height="70dp"
25 android:layout_width="match_parent"
26 android:padding="20dp"/>
27
28 <RelativeLayout
29 android:id="@+id/card_loaded"
30 android:layout_width="match_parent"
31 android:layout_height="wrap_content"
32 android:padding="10dp"
33 >
34
35 <ImageView
36 android:layout_width="60dp"
37 android:layout_height="60dp"
38 android:id="@+id/avatar"
39 android:layout_alignParentLeft="true"
40 android:layout_alignParentTop="true"
41 android:layout_marginRight="20dp"
42 />
43
44 <TextView
45 android:layout_width="wrap_content"
46 android:layout_height="wrap_content"
47 android:id="@+id/title"
48 android:layout_toRightOf="@+id/avatar"
49 android:layout_alignParentTop="true"
50 android:textSize="20sp"
51 android:maxLines="1"
52 android:textAppearance="@android:style/TextAppearance.Material.T itle"
53 />
54
55 <TextView
56 android:layout_width="wrap_content"
57 android:layout_height="wrap_content"
58 android:id="@+id/author"
59 android:layout_toRightOf="@+id/avatar"
60 android:layout_below="@+id/title"
61 android:maxLines="1"
62 android:textAppearance="@android:style/TextAppearance.Material.B ody1"
63 />
64
65 </RelativeLayout>
66
67 </com.google.dartino.githubsample.CommitCardView>
68
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698