Code example for FrameLayout

Methods: setBackgroundColor

0
		public View getShadowView() {
			return shadowView;
		} 
 
		public View getContentView() {
			return content;
		} 
 
		protected View createBorderView() {
			View v = new FrameLayout(context);
			v.setBackgroundColor(0xff000000);
			return v;
		} 
 
		public void addTabbarItemView(TabbarItem.TabbarItemView itemView) {
			items.add(itemView);
			LinearLayout.LayoutParams params = new LinearLayout.LayoutParams(LinearLayout.LayoutParams.MATCH_PARENT, LinearLayout.LayoutParams.MATCH_PARENT);
			params.setMargins(0, 0, 0, 0);
			params.gravity = Gravity.CENTER_VERTICAL;
			params.weight = 1;