Update - these files where missing

This commit is contained in:
david 2013-07-26 14:23:06 +02:00
parent 1b21228b8a
commit e770635726
3 changed files with 48 additions and 47 deletions

View file

@ -0,0 +1,41 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="5dp"
android:layout_marginLeft="10dp"
android:baselineAligned="false"
android:orientation="vertical"
android:paddingTop="10dp" >
<!--
android:background="@drawable/checkbox_background"
android:button="@drawable/checkbox"
-->
<com.devspark.robototextview.widget.RobotoTextView
android:id="@+id/tv_subscription"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:ellipsize="end"
android:gravity="center_vertical"
android:singleLine="true"
android:text="@string/empty_view_header"
android:textSize="15sp"
style="@style/RobotoFontStyle" />
<com.devspark.robototextview.widget.RobotoTextView
android:id="@+id/summary"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:ellipsize="end"
android:gravity="center_vertical"
android:lines="1"
android:text="@string/empty_view_content"
android:textSize="18sp"
android:textStyle="bold"
style="@style/RobotoFontStyle" />
</LinearLayout>

View file

@ -1,46 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="5dp"
android:layout_marginLeft="10dp"
android:paddingTop="10dp"
android:orientation="horizontal"
android:baselineAligned="false" >
<!--
android:background="@drawable/checkbox_background"
android:button="@drawable/checkbox"
-->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginLeft="10dp"
android:layout_weight="1"
android:orientation="vertical" >
<TextView
android:id="@+id/tv_subscription"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ellipsize="end"
android:gravity="center_vertical"
android:singleLine="true"
android:textSize="15sp"
android:text="@string/empty_view_header" />
<TextView
android:id="@+id/summary"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ellipsize="end"
android:gravity="center_vertical"
android:lines="1"
android:textSize="18sp"
android:textStyle="bold"
android:text="@string/empty_view_content" />
</LinearLayout>
</LinearLayout>

View file

@ -32,8 +32,14 @@
-->
<style name="RobotoFontStyle">
<item name="typeface">roboto_light</item>
<item name="typeface">robotoslab_regular</item>
<!-- https://github.com/johnkil/Android-RobotoTextView#usage -->
</style>
<style name="RobotoFontStyleBold">
<item name="typeface">robotoslab_bold</item>
</style>
<style name="LoginDialogEditTextStyle" parent="@style/RobotoFontStyle" >
<item name="android:layout_marginTop">4dp</item>