project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/util/UiUtils.java
equal
deleted
inserted
replaced
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); |