Skip to content
This repository has been archived by the owner on Mar 8, 2024. It is now read-only.

Commit

Permalink
feat: Made header's widgets background color transparent
Browse files Browse the repository at this point in the history
  • Loading branch information
Angad committed Mar 12, 2017
1 parent a83de0f commit 2863030
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle
Expand Up @@ -23,5 +23,5 @@ android {
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile project(':filepicker')
compile 'com.android.support:appcompat-v7:25.1.1'
compile 'com.android.support:appcompat-v7:25.2.0'
}
2 changes: 1 addition & 1 deletion build.gradle
Expand Up @@ -5,7 +5,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.3'
classpath 'com.android.tools.build:gradle:2.3.0'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.4'
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.4.1'
}
Expand Down
Expand Up @@ -195,7 +195,7 @@ else if (attr == R.styleable.FilePickerPreference_error_dir) {
{ properties.error_dir=new File(error_dir);
}
}
else if (attr == R.styleable.FilePickerPreference_offset) {
else if (attr == R.styleable.FilePickerPreference_offset_dir) {
String offset_dir=tarr.getString(R.styleable.FilePickerPreference_offset_dir);
if(offset_dir!=null&&!offset_dir.equals(""))
{ properties.offset=new File(offset_dir);
Expand Down
8 changes: 7 additions & 1 deletion filepicker/src/main/res/layout/dialog_header.xml
Expand Up @@ -13,17 +13,20 @@
android:layout_height="match_parent"
android:src="@mipmap/ic_directory_parent"
android:scaleType="centerInside"
android:background="@null"
android:id="@+id/imageView" />

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:background="@null"
android:layout_gravity="center_vertical">

<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
android:layout_height="wrap_content"
android:background="@null">

<TextView
android:id="@+id/dname"
Expand All @@ -34,6 +37,7 @@
android:textSize="16sp"
android:textStyle="bold"
style="?android:attr/textViewStyle"
android:background="@null"
android:textColor="@color/textColorPrimary"/>

<TextView
Expand All @@ -46,6 +50,7 @@
android:textSize="16sp"
android:textStyle="bold"
style="?android:attr/textViewStyle"
android:background="@null"
android:textColor="@color/textColorPrimary"/>

</RelativeLayout>
Expand All @@ -57,6 +62,7 @@
android:layout_marginLeft="16dp"
android:layout_marginStart="16dp"
style="?android:attr/textViewStyle"
android:background="@null"
android:textColor="@color/textColorSecondary"/>
</LinearLayout>
</LinearLayout>
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
@@ -1,6 +1,6 @@
#Wed Aug 31 23:04:09 IST 2016
#Sun Mar 12 18:45:35 IST 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip

0 comments on commit 2863030

Please sign in to comment.