Commit b54f2d18 authored by Donald's avatar Donald

nothing

parent 9624f74e
...@@ -50,7 +50,7 @@ android { ...@@ -50,7 +50,7 @@ android {
} }
} }
project.ext.supportLib = "25.0.0" project.ext.supportLib = "25.0.1"
dependencies { dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs') compile fileTree(include: ['*.jar'], dir: 'libs')
......
...@@ -161,7 +161,7 @@ public class AlertDialogsHelper { ...@@ -161,7 +161,7 @@ public class AlertDialogsHelper {
value.setLayoutParams((new LinearLayout.LayoutParams(0, LinearLayout.LayoutParams.WRAP_CONTENT, 7f))); value.setLayoutParams((new LinearLayout.LayoutParams(0, LinearLayout.LayoutParams.WRAP_CONTENT, 7f)));
label.setTextColor(activity.getTextColor()); label.setTextColor(activity.getTextColor());
label.setTypeface(null, Typeface.BOLD); label.setTypeface(null, Typeface.BOLD);
label.setGravity(Gravity.RIGHT); label.setGravity(Gravity.END);
label.setTextSize(16); label.setTextSize(16);
value.setTextColor(activity.getTextColor()); value.setTextColor(activity.getTextColor());
value.setTextSize(16); value.setTextSize(16);
......
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android" <android.support.v7.widget.CardView android:layout_width="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="vertical"> xmlns:app="http://schemas.android.com/apk/res-auto"
<android.support.v7.widget.CardView app:cardCornerRadius="2dp"
android:id="@+id/photo_details_card"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
app:cardCornerRadius="2dp" android:orientation="vertical">
android:id="@+id/photo_details_card">
<LinearLayout <TextView
android:id="@+id/details_title"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="vertical"> android:text="@string/details"
android:padding="24dp"
<TextView android:textColor="@color/md_dark_primary_text"
android:id="@+id/details_title" android:background="@color/md_red_500"
android:layout_width="match_parent" android:textSize="18sp"
android:layout_height="wrap_content" android:textStyle="bold"
android:text="@string/details"
android:padding="24dp"
android:textColor="@color/md_dark_primary_text"
android:background="@color/md_red_500"
android:textSize="18sp"
android:textStyle="bold"
/> />
<ImageView <ImageView
android:id="@+id/photo_map" android:id="@+id/photo_map"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="150dp" android:layout_height="150dp"
android:visibility="gone" android:visibility="gone"
/> />
<ScrollView <ScrollView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"
>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="vertical"
android:clickable="true"
android:background="@drawable/ripple"
> >
<LinearLayout <LinearLayout
android:layout_width="wrap_content" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:id="@+id/ll_list_details"
android:orientation="vertical" android:orientation="vertical"
android:paddingTop="@dimen/small_spacing"
/>
<TextView
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:id="@+id/details_showmore"
android:text="@string/show_more"
android:textSize="16sp"
android:visibility="gone"
android:gravity="center"
android:clickable="true" android:clickable="true"
android:background="@drawable/ripple" android:background="@drawable/ripple"
>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/ll_list_details"
android:orientation="vertical"
android:paddingTop="@dimen/small_spacing"
/>
<TextView
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:id="@+id/details_showmore"
android:text="@string/show_more"
android:textSize="16sp"
android:visibility="gone"
android:gravity="center"
android:clickable="true"
android:background="@drawable/ripple"
/> />
</LinearLayout> </LinearLayout>
</ScrollView> </ScrollView>
</LinearLayout> </LinearLayout>
</android.support.v7.widget.CardView> </android.support.v7.widget.CardView>
</LinearLayout>
\ No newline at end of file
...@@ -6,7 +6,7 @@ buildscript { ...@@ -6,7 +6,7 @@ buildscript {
maven { url "https://plugins.gradle.org/m2/" } maven { url "https://plugins.gradle.org/m2/" }
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:2.2.2' classpath 'com.android.tools.build:gradle:2.3.0-alpha2'
classpath "gradle.plugin.com.gladed.gradle.androidgitversion:gradle-android-git-version:0.2.2" classpath "gradle.plugin.com.gladed.gradle.androidgitversion:gradle-android-git-version:0.2.2"
// NOTE: Do not place your application dependencies here; they belong // NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files // in the individual module build.gradle files
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment