Cover photo
Chris Kunzler
Attended Keene State College
9,296 followers|564,315 views


Chris Kunzler

Shared publicly  - 
Today's #AndroidDev #Protip on text appearance and theme attributes is by +Katherine Kuan, the newest member of Android Developer Relations (welcome, Katherine!)

When choosing font sizes for your app, using too many different sizes can be visually distracting and confuse the user as to what information is important. To be consistent with other apps on the platform, you can use the standard set of type sizes provided by the framework: small, medium, or large.

To use a standard text size (and color), instead of setting the TextView's android:textSize directly, set the android:textAppearance to a predefined theme attribute [1] such as android:textAppearanceLarge:

    android:textAppearance="?android:textAppearanceLarge" />

As of API 19 (KitKat):
?android:textAppearanceSmall is currently 14sp
?android:textAppearanceMedium is currently 18sp
?android:textAppearanceLarge is currently 22sp

These default sizes and concepts are also documented in the "Typographic scale" section of the Android Design guide [2].

Note that setting the text appearance will also affect the default values for text color attributes such as android:textColor and android:textColorHint. You can always override the default values by providing those attributes directly on the TextView element:


Also note that you don't necessarily have to use the system default appearances. You can create your own set of type sizes and colors that fits your desired visual design. For information on creating your own theme attributes, see the #Protip we posted on the topic back in October [3].

Lastly, if you want to check out the definition of these standard text appearances in the framework code, look for "textAppearanceLarge" in the Theme.Holo (or Theme.Holo.Light) definition in themes.xml [4]. The attribute values will be style resources (such as TextAppearance.Holo.Large), for which you can find definitions  in styles.xml [5]. In the example above, note that TextAppearance.Holo.Large inherits from TextAppearance.Large, which in turn inherits from the standard TextAppearance style.

116 comments on original post
Add a comment...

Chris Kunzler

Shared publicly  - 
Add a comment...

Chris Kunzler

Shared publicly  - 
Add a comment...

Chris Kunzler

Shared publicly  - 
Add a comment...

Chris Kunzler

Shared publicly  - 
Can you say #imwithher after Hillary Clinton's role in the #honduras coup?

#hondurascoup #honduranlivesmatter
Add a comment...

Chris Kunzler

Shared publicly  - 
Morrissey's thoughts on the the Orlando massacre
13 June 2016. Hate-rosexuality. Although the gunman who massacred 49 people at an Orlando gay club is said to have been 'repulsed' by homosexuality, he nonetheless left behind a slew of self-adoring 'selfies'; a handsome man gazing enchantedly at his own face. It is therefore acceptable for him ...
Add a comment...

Chris Kunzler

Shared publicly  - 
William Hinkofer's profile photo
I have been telling people this for years.
Add a comment...

Chris Kunzler

Shared publicly  - 
Add a comment...

Chris Kunzler

Shared publicly  - 
Hail Hydra

Made by anonymous less than an hour ago. Created with the Imgflip Meme Generator. Show embed codes. IMAGE DESCRIPTION: HAIL HYDRA. hotkeys: D = random, W = like, S = dislike, A = back. Imgflip Pro Video to GIF Maker Images to GIF Maker Meme Generator Blank Meme Templates Pie Chart Maker ...
Add a comment...
Have him in circles
9,296 people
黃炎祥's profile photo
Tim Spearance's profile photo
Benjamin D. Green's profile photo
Bhargavreddy S's profile photo
Felipe Heuser's profile photo
AUTO FASHION's profile photo
Sahil Tak's profile photo
Peter Smalley's profile photo
Vinicius Claudia de Medeiros's profile photo
  • Keene State College
    Computer Science
  • Northwest College
#ows, 99%, Linux user, iconoclastic, progressive, tech enthusiast, humanist, microsoft/mac hating google fan., fsm, discordianism, INTP
Bragging rights
Been to 49 of the 50 US states
Basic Information
Other names
Hey you
Chris Kunzler's +1's are the things they like, agree with, or want to recommend.
VIDEO: Debate on Proposition 2, legalizing and regulating marijuana, at ...

Watch as the UAA Debate Team and Alaska Dispatch News co-host an in-depth discussion of marijuana legalization. Alaska voters will decide in

Alaska's Same-Sex Marriage Ban Struck Down - Alaska Commons

Judge Burgess declared that Alaska's same-sex marriage laws are unconstitutional, prohibits the government from enforcing them.

Edward Snowden’s Privacy Tips: “Get Rid Of Dropbox,” Avoid Facebook And ...

According to Edward Snowden, people who care about their privacy should stay away from popular consumer Internet services like Dropbox, Face

Accused of Stealing a Backpack, High School Student Jailed for Nearly Th...

We look at the incredible story of how a 16-year-old high school sophomore from the Bronx ended up spending nearly three years locked up at

KTVA Reporter Drops F-Bomb, Quits on Live TV - Alaska Commons

News unscripted. KTVA reporter drops an F-Bomb and quits on live television, in the name of legalized weed. She should have dropped the mic.

The Walking Dead #1

The issue that started it all. Rick Grimes, Sheriff of a small town in Kentucky awakes in a hospital. Comatose after being shot while on dut

Right to Work, Unions, Slavery, and Other Things Dan Sullivan Doesn't Un...

Anchorage Mayor Sullivan promoted Right to Work legislation while comparing union membership to slavery. It would seem he has a firm grasp o

Anonymous' Airchat Aims to Allow Communication Without Needing Phone or ...

Anonymous is testing a free communications tool that doesn't require phone or internet access

Internet service providers charging for premium access hold us all to ra...

An ISP should give users the bits they ask for, as quickly as it can, and not deliberately slow down the data

Kim Dotcom can have seized assets returned – New Zealand High Court

The New Zealand High Court has ruled that Megaupload founder Kim Dotcom can be reunited with millions of dollars, property, cars, and artwor

VIDEO: Glenn Greenwald &amp; Laura Poitras Q&amp;A on Snowden, the Surve...

Journalists Glenn Greenwald, Laura Poitras and Ewen MacAskill hold a press conference in New York after winning a Polk Award for their repor

Neon Trees' Tyler Glenn: Gay, Mormon and Finally Out

Growing up in the church, Neon Trees' frontman Tyler Glenn always held his secrets tight. Now he doesn't care if everybody talks.

Democratic Senator Hammers The Lying Koch Brothers With Hard-Hitting Ad

Sen. Mark Begich (D-AK) has been in the crosshairs of the Koch brothers and their SuperPAC, Americans for Prosperity, for the past few month

Herald Poll: Should the veracity of a church's doctrines be challenged i...

Last week, a former member of the Church of Jesus Christ of Latter-day Saints filed a criminal complaint against the church. In the complain


As Americans prepare to gather and watch the Super Bowl today, it is worth remembering what renowned linguist and political philosopher Noam

Pete Seeger: This Man Surrounded Hate and Forced it to Surrender | The N...

When some of the greatest musicians in the world gathered five years ago to celebrate the 90th birthday of the musician who inspired them al

Pete Seeger dies at 94; balladeer was America's conscience

Pete Seeger, who helped spark the folk song revival with his five-string banjo and songs for civil rights, peace and the labor movements, ha

31 Stereotypes About Book Lovers That Are Absolutely True

From grade school onwards, avid readers get a lot of flak. This may be because reading is one of the most solitary pleasures; it's not an ob

The War on Saturnalia

You don't have to be pagan to enjoy Saturnalia! In fact, you're not, and yet you still use many of our rituals for Christmas. Why don't you

Best police box I've been to. Don't be fooled by its appearance, because it looks a lot smaller on the outside than it really is.
Public - 3 years ago
reviewed 3 years ago
Public - 4 years ago
reviewed 4 years ago
9 reviews
Dr. Karaganis is the best pediatrician I've had the pleasure to take the kids to. She's professional, intelligent, and has gone out of her way to make the office environment warm and comfortable for the kids. I recommend her to all my friends with kids.
Public - 4 years ago
reviewed 4 years ago
They are destroying america.
Public - 4 years ago
reviewed 4 years ago
Terribly unprofessional. My experience dealing with their therapist Bridget Chu-Hackett is that they lack professionalism. She wouldn't return phone calls or even answer simple questions, even after weeks of effort. They wanted documents to show I had a right the the information, I provided it. However it took talking to the Director to get the file. Even after that I couldn't get a simple yes or no question answered from chu-hackett. I gave it two stars rather than one because the director was helpful and I have heard some say good things about them so I'm wondering how much of the problem is just the one therapist rather than the institution.
• • •
Public - 5 years ago
reviewed 5 years ago