Skip to content

Commit

Permalink
-Update: Make a style for toolbar title
Browse files Browse the repository at this point in the history
-Update: Version 1.0.1
  • Loading branch information
AnilFurkanOkcun committed Sep 18, 2018
1 parent d392cf5 commit 4e103a9
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 5 deletions.
6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions uwmediapicker/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ ext {
siteUrl = 'https://github.com/AnilFurkanOkcun/UWMediaPicker-Android'
gitUrl = 'https://github.com/AnilFurkanOkcun/UWMediaPicker-Android.git'

libraryVersion = '1.0.0'
libraryVersion = '1.0.1'

developerId = 'AnilFurkanOkcun'
developerName = 'Anıl Furkan Ökçün'
Expand All @@ -27,7 +27,7 @@ android {
minSdkVersion 17
targetSdkVersion 27
versionCode 1
versionName "1.0.0"
versionName "1.0.1"
vectorDrawables.useSupportLibrary = true
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,11 @@
android:id="@+id/activity_uw_media_picker_tv_toolbar_title"
android:layout_width="0dp"
android:layout_height="wrap_content"
style="@style/UwMediaPickerTvToolbarTitle"
android:layout_marginEnd="@dimen/uwmediapicker_spacing_normal"
android:layout_marginStart="@dimen/uwmediapicker_spacing_small"
android:ellipsize="end"
android:maxLines="1"
android:textColor="@color/colorUwMediaPickerToolbarTitle"
android:textSize="@dimen/uwmediapicker_text_size_toolbar_title"
android:textStyle="bold"
app:layout_constraintBottom_toTopOf="@id/activity_uw_media_picker_tv_toolbar_selected_media_count"
app:layout_constraintEnd_toStartOf="@id/activity_uw_media_picker_tv_toolbar_done"
app:layout_constraintStart_toEndOf="@id/activity_uw_media_picker_img_toolbar_back"
Expand Down
6 changes: 6 additions & 0 deletions uwmediapicker/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@
</style>

<!-- TextView Styles -->
<style name="UwMediaPickerTvToolbarTitle">
<item name="android:textColor">@color/colorUwMediaPickerToolbarTitle</item>
<item name="android:textSize">@dimen/uwmediapicker_text_size_toolbar_title</item>
<item name="android:textStyle">bold</item>
</style>

<style name="UwMediaPickerTvGalleryMediaSmallText">
<item name="android:textColor">@color/colorUwMediaPickerMediaName</item>
<item name="android:textSize">10sp</item>
Expand Down

0 comments on commit 4e103a9

Please sign in to comment.