project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/util/UiUtils.java
changeset 7586 33924ff4af50
parent 7584 7831c84cc644
child 10017 de822cd3df3a
equal deleted inserted replaced
7584:7831c84cc644 7586:33924ff4af50
    31 public final class UiUtils {
    31 public final class UiUtils {
    32 	private UiUtils() {
    32 	private UiUtils() {
    33 		throw new AssertionError("This class is not meant to be instantiated");
    33 		throw new AssertionError("This class is not meant to be instantiated");
    34 	}
    34 	}
    35 
    35 
    36 	public static View createTabIndicator(TabHost tabHost, int label, int icon) {
    36 	public static View createVerticalTabIndicator(TabHost tabHost, int label, int icon) {
    37 		LayoutInflater inflater = (LayoutInflater) tabHost.getContext()
    37 		LayoutInflater inflater = (LayoutInflater) tabHost.getContext()
    38 				.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
    38 				.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
    39 
    39 
    40 		View view = inflater.inflate(R.layout.tab_indicator_vertical,
    40 		View view = inflater.inflate(R.layout.tab_indicator_vertical,
    41 				tabHost.getTabWidget(), false);
    41 				tabHost.getTabWidget(), false);