fixed main activity architectory