I created a custom RelativeLayout
and I want to populate it with a design from an xml file, is it possible?
My code: This is the onCreate from my main activity
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(new CustomRelativeLayout(this));
getLayoutInflater().inflate(R.layout.three_items_list_row, null, false);
}
No comments:
Post a Comment