How can I get smaller CheckBox - android

Is it possible to get a smaller CheckBox, like the one used in Settings application? I'd like to use it in my own custom Preference class, to mimic Android UI more closely...
Thank you for your time,
Kipple

There is a slight difference between HTC and vanilla Google Android drawables for CheckBox...

Related

Custom Settings in Android Studio

I want to make a section in my app to allow the user to specify a range of time. I'm trying to make the design to something like android timers at the moment, but I'm having trouble. Would I need to make a custom preference for the design, or would I need to use SharedPreferences in a Fragment?
Image of Android Clock Design
Additional Question:I'm using a Crystal double range seekbar that is visible when I run the app, but it doesn't show when in Android XML design.
I am not getting your usecase here. As far my understand, you need a screen to ask the user to the enter the date range like date from & to. If so, my suggestion would have the different screen to get those values and storre those in a SQLite.

Can't find information on how to add to this element, Android

[SOLVED = I can't add to it, it's based on the active ROM]
Sorry for the vague questioning, I wasn't sure quite how to create it.
I'm wanting to add toggle buttons, or at least other elements into this part of android;
I can't find any documents on how to add to this element of Android, and I'm wondering if we actually can? Does anyone know what this element is even called and can link me to the appropriate android doc?
Thanks!
This is an application that ships with Android, hence you cannot change its behavior. It has a predefined set of elements that can be present on it. If you want to create a custom version of it, you will need to create a custom ROM.
This looks similar to the quick settings screen on my Samsung and it created by the phone manufacturer. You could create a custom ROM, but I don't think this is what you really want.
The closest I think you can get is the notification bar, which can use a custom layout:
Change Notification Layout
Also Take a look at the WatchOn app, which has a relatively complex control embedded into the notification screen:

Creating a high quality Android user interface

I have created an Android app using the standard controls available. It seems that most apps on the market have their own set of controls. It generally looks much better that the standard controls. How do I create better looking control? Can I just apply a theme or should I overwrite the onDraw method? For instance, there is a problem with the default android spinner control details here .
adding custom images is the best way to have more eye-catching GUI, use colorful & meaningful images to your application to appeal users. Custom theme's and styles are helpful too.....
You can apply different themes and styles on the one hand or work with 9patch-drawables - have a look here for details and examples

Android: A good looking (standard) settings menu

I'm trying to get my app to blend in as much as possible with the "standard" with the rest of my android device. It's a stand-alone app, not integrated with the OS or anything, I just want it to look familiar.
The area I'm interested in is the "settings" screen. If I look at Android's standard settings screen, it's well spaced, perfect font size, with neat pin stripes between the menu items.
How do I do that? Is that a ListView? Is it done with a regular LinearLayout?
I would love to be able to replicate the look & feel in my app. Can anybody assist?
And it's not just the Adroid OS. it's most of the "professional" apps out there:
Many thanks
Actually, this is directly part of the Android source code, so I would strongly advise you to take a look in its structure. See the Android Settings tutorial for more info.
Settings are created from the SettingsActivity (which extends the PreferenceActivity, you might want to look this too), which in their turn have their layout based on the following xml files:
preferences.xml
preference.xml
Things are quite strongly interlocked so it needs some reading...
AFAIK its a ListView. by implementing a custom ListView, you can achieve similar effect.
Moreover, you'll have to follow the Icon Design Guidelines to create such icons for ListView rows

Android Application looks like iphone

I came across this app and I wonder how was it developed on android (Cause it looks so much like an iphone app), see this screenshot.
Anyone have any idea how to accomplish that type of look on Android?
That's just a matter of styling after all. In general, I would consider it to be discouraged to make your Android app look like an iPhone app. Every platform has its own UX standards, and Android's standards are different from iPhone's. That quite obviously also reflects in the user interface.
Anyhow, you may want to read this article about Android themes and styles. It should get you going with defining own widget styles and stateful drawables to implement custom buttons.
This app obviously uses customized ListViews, ButtonView on the bottom of the screen.
Theses are pretty much standard and common in android apps.
Here is how to create custom components:
https://developer.android.com/guide/topics/ui/custom-components.html

Categories

Resources