Questions tagged [android-gui]

The system through which people interact with a computer. UI stands for User Interface

There's now a Stack Exchange site for UI, Interaction and User Experience design: [ux.stackexchange.com][2]

Similar tags:

115 questions
94
votes
13 answers

What is default color for text in textview?

I set the color to red , and after that I want to set the color again back to default, but I do not know what is default color, does anyone knows ?
Lukap
  • 29,596
  • 60
  • 146
  • 239
81
votes
9 answers

How to disable behind view click event Framelayout

Here i have one view pager activity which has one imageview and 2 overlay bars. there overlay bars i made using android xml file layout itself. Here my requirement is like that 1) single tap on view pager's imageview first time = show top and…
62
votes
5 answers

How to align the text inside the TextView in Android?

I have a multiline TextView in Android. It is a child of a LinearLayout. It is already centered horizontally and I also want to have the text inside it centered. Here's what I have now: _ _ _ _ _ _| aaaaaaaaaaaaaaaaaaaaa _ _ _ _ _ _| aaaaaaaa _…
user552400
44
votes
2 answers

Android Hardware Acceleration - to use or not to use?

I'm developing an app that it functionality very similar to Facebook Android native app: social network that most of the time the user will spend in an endless ListView displaying lot's of images, entering an image gallery, and so on. let's say for…
Tal Kanel
  • 9,855
  • 10
  • 55
  • 93
35
votes
14 answers

Accessing a font under assets folder from XML file in Android

I am trying to do a application-wide font change and creating a style file to do so. In this file (below) I just want to change typeface value of TextAppearance style of Android.
erkangur
  • 1,918
  • 5
  • 20
  • 31
25
votes
1 answer
14
votes
4 answers

Dealing with Android's texture size limit

I have a requirement to display somewhat big images on an Android app. Right now I'm using an ImageView with a source Bitmap. I understand openGL has a certain device-independent limitation as to how big the image dimensions can be in order for it…
woot
  • 3,561
  • 3
  • 24
  • 39
12
votes
2 answers
8
votes
3 answers

Android: draw arc within canvas api with a gradient fill color

I want to draw an arc using canvas using a gradient fill. How can achieve this?
Swapnil
  • 2,225
  • 3
  • 22
  • 46
8
votes
1 answer

Practicing android design metrics?

Reading the design guidelines. I came across a little issue while trying to practice the metrics: As secified above, we should add a 4dp margin to the top and bottom of button elements and text input fields. But those elements already has a margin…
Richard
  • 13,521
  • 9
  • 49
  • 82
7
votes
3 answers

inner shadow on Android TextView

is it possible to put an inner shadow on the text of a TextView in Android like this one : Thanks !
alxscms
  • 2,937
  • 6
  • 20
  • 40
7
votes
1 answer

How do I make a tool bar (like a secondary action bar) in Android?

The gmail app has this tool bar that looks similar to an action bar (even including an overflow menu). It is a blue bar about 1/4 down the screen. See Image 1: The bar I want is pointed out with a red arrow. I looked through the documentation…
6
votes
9 answers

Android layout help, missing elements

I’m trying to creating a layout that contains a "SurfaceView" at the top with a horizontal toolbar that is section into 3 segments in the bottom, however my SurfaceView which contains camera preview is only the only element that is showing. Please…
cyber101
  • 2,672
  • 11
  • 46
  • 81
5
votes
2 answers

Change the style of AlertDialog

When I run this code the alert dialog is shown but there is one white border around the dialog and also the borders are little round. I do not want this white border and I want to have real corners with angle of 90. I hope you understand what I am…
Lukap
  • 29,596
  • 60
  • 146
  • 239
5
votes
3 answers

Android, GL, screen size in IMMERSIVE MODE

I am developing with Nexus 4 KitKat 4.4 and trying to add IMMERSIVE MODE to my game. I need screen height to set glViewport correctly. Previously I used @SuppressWarnings("deprecation") @TargetApi(Build.VERSION_CODES.HONEYCOMB_MR2) public static…
Max
  • 5,896
  • 5
  • 39
  • 82
1
2 3 4 5 6 7 8