java - Android Studio - Is there a way to show different text optimized for a smaller screen in a button? -
i amateur android developer.
in app have buttons arranged in relative layout. app running on nexus 4. favorite button text fits nicely. (app on nexus 4)
what worries me on phones smaller nexus 4.
what i'd make different string of text appear on devices can't fit "favorites string" in 1 line. string of text says "favs" instead of "favorites". (app on nexus one)
is there way code activity_main.xml or have create new xml file designed specificaly smaller phones.
i'd suggest putting icon above text increase room. remember in different languages abbreviation may not possible, , english medium length language (expect russian string twice long, problem language).
but yes, in general going need multiple designs different classes of phones. looks on tablets, phablets, normal phones, , small phones different. target normal phones, enough on phablets, , redesign small , tablets.
Comments
Post a Comment