Skip to content

Commit

Permalink
@style/TextLabel
Browse files Browse the repository at this point in the history
  • Loading branch information
jrvansuita committed Feb 18, 2017
1 parent b6ae171 commit d573c63
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .idea/misc.xml

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

Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public void loadAbout() {
AboutBuilder.with(activity)
.setAppIcon(R.mipmap.ic_launcher)
.setAppName(R.string.app_name)
.setPhoto(R.mipmap.profile_picture)
.setPhoto(R.mipmap.testex)
.setCover(R.mipmap.profile_cover)
.setLinksAnimated(false)
.setDividerDashGap(13)
Expand Down
Binary file added library/src/main/res/mipmap-nodpi/testex.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 6 additions & 8 deletions library/src/main/res/values/style.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</style>


<style name="Text">
<style name="TextLabel">
<item name="android:layout_height">wrap_content</item>
<item name="android:layout_width">match_parent</item>
<item name="android:gravity">center</item>
Expand All @@ -29,39 +29,37 @@
<item name="android:textColor">?android:textColorSecondary</item>
</style>

<style name="Name" parent="Text">
<style name="Name" parent="@style/TextLabel">
<item name="android:maxLines">2</item>
<item name="android:textStyle">bold</item>
<item name="android:textSize">21sp</item>
<item name="android:textColor">?android:textColorPrimary</item>
</style>


<style name="SubTitle" parent="Text">
<style name="SubTitle" parent="@style/TextLabel">
<item name="android:textSize">16sp</item>
<item name="android:paddingLeft">30dp</item>
<item name="android:paddingRight">30dp</item>
<item name="android:paddingBottom">15dp</item>
<!--<item name="android:ems">3</item>-->
<item name="android:textColor">?android:textColorSecondary</item>
</style>

<style name="Brief" parent="Text">
<style name="Brief" parent="@style/TextLabel">
<item name="android:textSize">16sp</item>
<item name="android:paddingLeft">30dp</item>
<item name="android:paddingRight">30dp</item>
<item name="android:paddingBottom">15dp</item>
<!--<item name="android:ems">10</item>-->
</style>

<style name="Social" parent="Text">
<style name="Social" parent="@style/TextLabel">
<item name="android:layout_height">wrap_content</item>
<item name="android:gravity">center_horizontal</item>
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_margin">0dp</item>
<item name="android:layout_gravity">center_horizontal</item>
<item name="android:textSize">12sp</item>
<item name="android:padding">3dp</item>
<!--<item name="android:ems">5</item>-->
</style>


Expand Down

0 comments on commit d573c63

Please sign in to comment.